package com.wlz.util;


import java.util.ArrayList;
import java.util.List;

/**
 * @author wlz
 * @date 2023-03-09  15:39
 */
public class TestUtils {

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("11");
        int a= 1;
        TestUtils testUtils = new TestUtils();
        a = testUtils.getA(list, a);
        System.out.println(a);


    }

    public int getA(List<String> list, Integer a) {
        getList(list);
        return a+1;
    }

    public void getList(List<String> list) {
        list.add("dafsd");
    }
}
